package com.tbsoft.ehr.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @desc 附件
 * @author vastdream
 *
 */
@Entity
@Table(name="EHR_ATACHFILE")
public class AttachFile extends BaseEntity{
	private static final long serialVersionUID = 1L;
	/**
	 * 文件id
	 */
	private String attachFileId;
	/**
	 * 文件名
	 */
	private String attachFileName;
	/**
	 * 附件所属类型
	 */
	private String fileType;
	/**
	 * 关联业务id
	 */
	private String bussinessId;
	@Id
	@Column(name="FILE_ID",length=40)
	public synchronized String getAttachFileId() {
		return attachFileId;
	}
	public synchronized void setAttachFileId(String attachFileId) {
		this.attachFileId = attachFileId;
	}
	@Column(name="FILE_NAME",length=255)
	public synchronized String getAttachFileName() {
		return attachFileName;
	}
	public synchronized void setAttachFileName(String attachFileName) {
		this.attachFileName = attachFileName;
	}
	@Column(name="FILE_TYPE",length=50)
	public synchronized String getFileType() {
		return fileType;
	}
	public synchronized void setFileType(String fileType) {
		this.fileType = fileType;
	}
	@Column(name="BUSSINESS_ID",length=50)
	public synchronized String getBussinessId() {
		return bussinessId;
	}
	public synchronized void setBussinessId(String bussinessId) {
		this.bussinessId = bussinessId;
	}
	
	
}
